Qt 4.8
Public Types | Static Public Functions | List of all members
QConcatenable< const char[N]> Struct Template Reference

#include <qstringbuilder.h>

Inheritance diagram for QConcatenable< const char[N]>:
QAbstractConcatenable

Public Types

enum  { ExactSize = false }
 
typedef QByteArray ConvertTo
 
typedef const char type[N]
 

Static Public Functions

static void QT_ASCII_CAST_WARN appendTo (const char a[N], QChar *&out)
 
static void appendTo (const char a[N], char *&out)
 
static int size (const char[N])
 

Additional Inherited Members

- Static Private Functions inherited from QAbstractConcatenable
static void convertFromAscii (const char *a, int len, QChar *&out)
 
static void convertFromAscii (char a, QChar *&out)
 
static void convertToAscii (const QChar *a, int len, char *&out)
 
static void convertToAscii (QChar a, char *&out)
 
static void convertToLatin1 (QChar a, char *&out)
 

Detailed Description

template<int N>
struct QConcatenable< const char[N]>

Definition at line 324 of file qstringbuilder.h.

Typedefs

◆ ConvertTo

template<int N>
typedef QByteArray QConcatenable< const char[N]>::ConvertTo

Definition at line 327 of file qstringbuilder.h.

◆ type

template<int N>
typedef const char QConcatenable< const char[N]>::type[N]

Definition at line 326 of file qstringbuilder.h.

Enumerations

◆ anonymous enum

template<int N>
anonymous enum
Enumerator
ExactSize 

Definition at line 328 of file qstringbuilder.h.

Functions

◆ appendTo() [1/2]

template<int N>
static void QT_ASCII_CAST_WARN QConcatenable< const char[N]>::appendTo ( const char  a[N],
QChar *&  out 
)
inlinestatic

Definition at line 331 of file qstringbuilder.h.

332  {
334  }
long ASN1_INTEGER_get ASN1_INTEGER * a
static void convertFromAscii(const char *a, int len, QChar *&out)

◆ appendTo() [2/2]

template<int N>
static void QConcatenable< const char[N]>::appendTo ( const char  a[N],
char *&  out 
)
inlinestatic

Definition at line 336 of file qstringbuilder.h.

337  {
338  while (*a)
339  *out++ = *a++;
340  }
long ASN1_INTEGER_get ASN1_INTEGER * a

◆ size()

template<int N>
static int QConcatenable< const char[N]>::size ( const char  [N])
inlinestatic

Definition at line 329 of file qstringbuilder.h.

329 { return N - 1; }

The documentation for this struct was generated from the following file: